package com.hellobike.haxing.modules.supplier.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.hellobike.haxing.modules.supplier.entity.TSupplierClPro;

import java.math.BigDecimal;
import java.util.List;

/**
 * @Description: 供应商商品表
 * @Author: haxing-boot
 * @Date:   2020-01-15
 * @Version: V1.0
 */
public interface ITSupplierClProService extends IService<TSupplierClPro> {

    public List<TSupplierClPro> getBySupplierId(Long headerId);

    public void updateClp(Long skuId, BigDecimal purchasePrice);

    public void updateClpDefault(Long skuId, Long supplierId,Integer isDefault);
}
